SUBDIRS = . test
bin_PROGRAMS = protoc-c
lib_LTLIBRARIES = libprotobuf-c.la
protobufcincludedir = $(includedir)/google/protobuf-c
protoc_c_SOURCES = \
google/protobuf/compiler/c/c_service.cc \
google/protobuf/compiler/c/c_helpers.cc \
google/protobuf/compiler/c/c_enum.cc \
google/protobuf/compiler/c/c_enum_field.cc \
google/protobuf/compiler/c/c_string_field.cc \
google/protobuf/compiler/c/c_primitive_field.cc \
google/protobuf/compiler/c/c_extension.cc \
google/protobuf/compiler/c/c_file.cc \
google/protobuf/compiler/c/c_field.cc \
google/protobuf/compiler/c/c_message.cc \
google/protobuf/compiler/c/c_generator.cc \
google/protobuf/compiler/c/c_message_field.cc \
google/protobuf/compiler/c/main.cc \
google/protobuf/compiler/c/c_bytes_field.cc

protoc_c_LDADD = \
-lprotoc

libprotobuf_c_la_SOURCES = \
google/protobuf-c/protobuf-c.c

noinst_HEADERS = \
google/protobuf/compiler/c/c_message_field.h \
google/protobuf/compiler/c/c_service.h \
google/protobuf/compiler/c/c_helpers.h \
google/protobuf/compiler/c/c_enum.h \
google/protobuf/compiler/c/c_enum_field.h \
google/protobuf/compiler/c/c_string_field.h \
google/protobuf/compiler/c/c_primitive_field.h \
google/protobuf/compiler/c/c_extension.h \
google/protobuf/compiler/c/c_file.h \
google/protobuf/compiler/c/c_field.h \
google/protobuf/compiler/c/c_message.h \
google/protobuf/compiler/c/c_generator.h \
google/protobuf/compiler/c/c_bytes_field.h

protobufcinclude_HEADERS = \
google/protobuf-c/protobuf-c.h \
google/protobuf-c/protobuf-c-private.h
